home *** CD-ROM | disk | FTP | other *** search
- on exitFrame me
- global X, Y, squarecolor
- homebackroll()
- exerciseroll()
- finger(2, 2)
- finger(5, 5)
- finger(18, 20)
- unfinger(30, 32)
- unfinger(37, 48)
- finger(49, 67)
- unfinger(68, 98)
- finger(113, 118)
- finger(123, 123)
- finger(185, 187)
- finger(192, 192)
- finger(195, 195)
- finger(198, 198)
- set the floatPrecision to 0
- if squarecolor = "red" then
- put "0°" into field "h field"
- else
- if squarecolor = "yellow" then
- put "300°" into field "h field"
- else
- if squarecolor = "green" then
- put "240°" into field "h field"
- else
- if squarecolor = "cyan" then
- put "180°" into field "h field"
- else
- if squarecolor = "blue" then
- put "120°" into field "h field"
- else
- if squarecolor = "purple" then
- put "60°" into field "h field"
- end if
- end if
- end if
- end if
- end if
- end if
- if ((255 - (X * 15)) / 2.54999999999999982) = 100 then
- set the blend of sprite 35 to 50
- unfinger(35, 35)
- else
- set the blend of sprite 35 to 100
- finger(35, 35)
- end if
- if ((255 - (X * 15)) / 2.54999999999999982) = 0 then
- set the blend of sprite 34 to 50
- unfinger(34, 34)
- else
- set the blend of sprite 34 to 100
- finger(34, 34)
- end if
- if (Y * 15 / 2.54999999999999982) = 100 then
- set the blend of sprite 33 to 50
- unfinger(33, 33)
- else
- set the blend of sprite 33 to 100
- finger(33, 33)
- end if
- if (Y * 15 / 2.54999999999999982) = 0 then
- set the blend of sprite 36 to 50
- unfinger(36, 36)
- else
- set the blend of sprite 36 to 100
- finger(36, 36)
- end if
- if Y < 3 then
- showit(31, 31)
- else
- hideit(31, 31)
- end if
- showit(40, 42)
- hideit(49, 54)
- if rollover(43) then
- sprite(49).visible = 1
- else
- if rollover(44) then
- sprite(50).visible = 1
- else
- if rollover(45) then
- sprite(51).visible = 1
- else
- if rollover(46) then
- sprite(52).visible = 1
- else
- if rollover(47) then
- sprite(53).visible = 1
- else
- if rollover(48) then
- sprite(54).visible = 1
- else
- hideit(49, 54)
- end if
- end if
- end if
- end if
- end if
- end if
- go(the frame)
- end
-